Optimal. Leaf size=30 \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{3 (m+1)}}{3 (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0082643, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {14} \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{3 (m+1)}}{3 (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin{align*} \int x^m \left (a+b x^{2+2 m}\right ) \, dx &=\int \left (a x^m+b x^{2+3 m}\right ) \, dx\\ &=\frac{a x^{1+m}}{1+m}+\frac{b x^{3 (1+m)}}{3 (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0130887, size = 26, normalized size = 0.87 \[ \frac{3 a x^{m+1}+b x^{3 m+3}}{3 m+3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 33, normalized size = 1.1 \begin{align*}{\frac{ax{{\rm e}^{m\ln \left ( x \right ) }}}{1+m}}+{\frac{b{x}^{3} \left ({{\rm e}^{m\ln \left ( x \right ) }} \right ) ^{3}}{3+3\,m}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.34212, size = 55, normalized size = 1.83 \begin{align*} \frac{b x^{3} x^{3 \, m} + 3 \, a x x^{m}}{3 \,{\left (m + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 12.1479, size = 36, normalized size = 1.2 \begin{align*} \begin{cases} \frac{3 a x x^{m}}{3 m + 3} + \frac{b x^{3} x^{3 m}}{3 m + 3} & \text{for}\: m \neq -1 \\\left (a + b\right ) \log{\left (x \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12278, size = 34, normalized size = 1.13 \begin{align*} \frac{b x^{3} x^{3 \, m} + 3 \, a x x^{m}}{3 \,{\left (m + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]